package com.yueshop.product.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "yueshop.thread")
@Component
@Data
public class ThreadPollConfigProperties {
    private int corePoolSize;//核心线程数
    private int maximumPoolSize; //最大线程
    private long keepAliveTime; //休眠时长
}
